import Vue from "vue";
import "./plugins/axios";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import { tools } from "./tools/basic-tools";
import axios from "./plugins/axios";
import "./plugins/element.js";
import "./plugins/ant-design-vue.js";
import zhCN from "ant-design-vue/lib/locale-provider/zh_CN";

Vue.use(axios);

Vue.prototype.$store = store;
Vue.prototype.$tools = tools;
Vue.prototype.zhCN = zhCN;
Vue.config.productionTip = false;
Vue.prototype.forceUpdate = function() {
  this.$nextTick(() => {
    this.$forceUpdate();
  });
};
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
